package u1project.common;

import java.io.Serializable;
import java.util.HashMap;

/**
 * 传输数据。。。
 * 客户端给服务端传输数据的容器
 * @author oldliu
 * @since 1.0
 */
public class Request extends HashMap<String,Object>implements Serializable {
    private String action;//请求干嘛

    public Request(){}

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    @Override
    public String toString() {
        return "Request{" +
                "action='" + action + '\'' +super.toString()+
                '}';
    }
}
